import { Component, OnInit } from '@angular/core';
import {NgbActiveModal} from '@ng-bootstrap/ng-bootstrap';

@Component({
  selector: 'app-sethead',
  templateUrl: './sethead.component.html',
  styleUrls: ['./sethead.component.css']
})
export class SetheadComponent implements OnInit {

  constructor( public activeModal: NgbActiveModal) { }

  ngOnInit(): void {
  }

  onSelect(index:string){
    let path="assets/imgs/head/h"+index+".png";
    this.activeModal.close(path);
  }

}
